package com.bsoft.ecommerce.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.initialization.qual.NotOnlyInitialized;

import java.util.List;

@ApiModel(description = "通用 id对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TableId {
    @ApiModelProperty(value = "数据表记录主键")
    private List<Id> ids;
    @ApiModel(description = "数据表记录主键对象")
    @Data
    @NoArgsConstructor
    @AllArgsConstructor

     public static  class  Id{
        @ApiModelProperty(value = "数据表记录主键")
        private  Long id;
     }
}
